package java_generics.generic_types;


public class BoxTest {

	public static void main(String[] args) {
		Box<Integer> integerBox = new Box<>(10);
		
		Box<String> stringBox = new Box<>("Generics");
		
		int a = integerBox.get().intValue();
		String s = stringBox.get();
		
		System.out.printf("Integer Value : %d\n", a);
	    System.out.printf("String Value : %s\n", s);
	}
}
